home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-11-18 | 14.4 KB | 312 lines | [TEXT/MPS ] |
-
-
- struct {
- int errNum;
- char *errCode;
- } ErrorCodeTab [] = {
- 1, "CTB rejected",
- 2, "CTB failed",
- 3, "CTB time-out",
- 4, "CTB not open",
- 5, "CTB not closed",
- 6, "CTB no request pending",
- 7, "CTB not supported",
- 8, "CTB tools not installed",
- 9, "CTB user canceled",
- 11, "CTB unknown error",
-
- -50, "error in user parameter list",
- -200, "Sound Manager Error Returns",
- -201, "Sound Manager Error Returns",
- -2, "invalid queue element",
- -3, "core routine number out of range",
- -4, "unimplemented core routine",
- -5, "invalid queue element",
- -8, "no debugger installed to handle debugger command",
- -17, "I/O System Errors",
- -18, "I/O System Errors",
- -19, "I/O System Errors",
- -20, "I/O System Errors",
- -21, "I/O System Errors",
- -22, "I/O System Errors",
- -23, "I/O System Errors",
- -24, "I/O System Errors",
- -25, "tried to remove an open driver",
- -27, "IO call aborted by KillIO",
- -27, "IO abort error (Printing Manager)",
- -28, "Couldn't rd/wr/ctl/sts cause driver not opened",
- -29, "unit table has no more entries",
- -30, "dce extension error",
- -360, "invalid slot # error",
- -400, "gcr format on high density media error",
- -33, "Directory full",
- -34, "disk full",
- -35, "no such volume",
- -36, "I/O error (bummers)",
- -37, "there may be no bad names in the final system!",
- -38, "File not open",
- -39, "End of file",
- -40, "tried to position to before start of file (r/w)",
- -41, "memory full (open) or file won't fit (load)",
- -42, "too many files open",
- -43, "File not found",
- -44, "diskette is write protected.",
- -46, "volume is locked",
- -47, "File is busy (delete)",
- -48, "duplicate filename (rename)",
- -49, "file already open with with write permission",
- -51, "refnum error",
- -52, "get file position error",
- -53, "volume not on line error (was Ejected)",
- -54, "permissions error (on file open)",
- -55, "drive volume already on-line at MountVol",
- -56, "no such drive (tried to mount a bad drive num)",
- -57, "not a mac diskette (sig bytes are wrong)",
- -58, "volume in question belongs to an external fs",
- -59, "file system internal error:during rename the old entry was deleted but could not be restored.",
- -60, "bad master directory block",
- -61, "write permissions error",
- -120, "Directory not found",
- -121, "No free WDCB available",
- -122, "Move into offspring error",
- -123, "Wrong volume type error [operation not supported for MFS]",
- -1300, "no file thread exists.",
- -1301, "file id already exists",
- -1302, "directory specified",
- -1303, "files on different volumes",
- -1304, "the catalog has been modified",
- -1305, "desktop database files are corrupted",
- -1306, "can't exchange a file with itself",
- -1307, "file id is dangling or doesn't match with the file number",
- -5500, "returned by glue.",
- -5501, "Version non-positive",
- -5502, "Version bigger than call can handle",
- -64, "error during font declaration",
- -65, "font not declared",
- -66, "font substitution occured",
- -32615, "bitmap font passed to routine that does outlines only",
- -84, "I/O System Errors",
- -64, "I/O System Errors",
- -64, "drive not installed",
- -65, "r/w requested for an off-line drive",
- -67, "couldn't find valid addr mark",
- -68, "read verify compare failed",
- -69, "addr mark checksum didn't check",
- -70, "bad addr mark bit slip nibbles",
- -71, "couldn't find a data mark header",
- -72, "bad data mark checksum",
- -73, "bad data mark bit slip nibbles",
- -74, "write underrun occurred",
- -75, "step handshake failed",
- -76, "track 0 detect doesn't change",
- -77, "unable to initialize IWM",
- -78, "tried to read 2nd side on a 1-sided drive",
- -79, "unable to correctly adjust disk speed",
- -80, "track number wrong on address mark",
- -81, "sector number never found on a track",
- -82, "can't find sector 0 after track format",
- -83, "can't get enough sync",
- -84, "track failed to verify",
- -85, "unable to read same clock value twice",
- -87, "parameter ram written didn't read-verify",
- -88, "InitUtil found the parameter ram uninitialized",
- -89, "SCC receiver error (framing; parity; OR)",
- -90, "Break received (SCC)",
- -13000, "Power Mgr never ready to start handshake",
- -13001, "Timed out waiting for reply",
- -13002, "during send, pmgr did not start hs",
- -13003, "during send, pmgr did not finish hs",
- -13004, "during receive, pmgr did not start hs",
- -13005, "during receive, pmgr did not finish hs configured for this connection",
- -100, "No scrap exists error",
- -102, "No object of that type in scrap",
- -99, "soft error in ROZ",
- -99, "hard error in ROZ",
- -99, "hard error in ROZ",
- -108, "Not enough room in heap zone",
- -109, "Master Pointer was NIL in HandleZone or other",
- -111, "WhichZone failed (applied to free block)",
- -112, "trying to purge a locked or non-purgeable block",
- -113, "Address in zone check failed",
- -114, "Pointer Check failed",
- -115, "Block Check failed",
- -116, "Size Check failed",
- -117, "trying to move a locked block (MoveHHi)",
- -192, "Resource not found",
- -193, "Resource file not found",
- -194, "AddResource failed",
- -195, "AddReference failed",
- -196, "RmveResource failed",
- -197, "RmveReference failed",
- -198, "attribute inconsistent with operation",
- -199, "map inconsistent with operation",
- -186, "resource bent (the bends) - can't decompress a compressed resource",
- -185, "extended resource has a bad format.",
- -150, "Color2Index failed to find an index",
- -151, "failed to allocate memory for temporary structures",
- -152, "failed to allocate memory for structure",
- -153, "range error on colorTable request",
- -154, "colorTable entry protection violation",
- -155, "invalid type of graphics device",
- -156, "invalid resolution for MakeITable",
- -125, "insufficient memory to update a pixmap",
- -11000, "wrong version of the PictInfo structure",
- -11001, "the internal consistancy check for the PictInfoID is wrong",
- -11002, "the passed verb was invalid",
- -11003, "unable to load the custom pick proc",
- -11004, "the number of colors requested was illegal",
- -11005, "the picture data was invalid",
- -203, "Sound Manager Error Returns",
- -204, "Sound Manager Error Returns",
- -206, "Sound Manager Error Returns",
- -207, "could not allocate enough memory ",
- -208, "was not type AIFF or was of bad format,corrupt",
- -209, "the Channel is being used for a PFD already ",
- -210, "can not operate in the memory allowed",
- -212, "not enough CPU cycles left to add another task",
- -220, "no Sound Input hardware",
- -221, "invalid index passed to SoundInGetIndexedDevice",
- -222, "returned by synchronous SPBRecord if nil buffer passed",
- -223, "invalid compression type",
- -224, "hard drive too slow to record to disk",
- -225, "invalid sample rate",
- -226, "invalid sample size",
- -227, "input device already in use",
- -228, "input device could not be opened",
- -229, "invalid input device reference number",
- -230, "input device hardware failure",
- -231, "invalid info type selector (returned by driver)",
- -299, "wrong queue type",
- -290, "Error; SDM could not be initialized.",
- -291, "Error; Slot Resource Table could not be initialized.",
- -292, "Error; Slot Resource Table could not be initialized.",
- -293, "Error; Cards could not be initialized.",
- -300, "No card in slot",
- -301, "CRC check failed for declaration data",
- -302, "FHeader Format is not Apple's",
- -303, "Wrong revison level",
- -304, "Directory offset is Nil ",
- -305, "This slot is disabled (-305 use to be smLWTstBad)",
- -307, "Fatal reserved error. Resreved field <> 0.",
- -308, "Unexpected BusError",
- -309, "ByteLanes field was bad.",
- -310, "Error occured during _sGetFHeader.",
- -311, "Error occured during _sDisposePtr (Dispose of FHeader block).",
- -312, "_DisposePointer error",
- -313, "No Board sResource.",
- -314, "Error occured during _sGetPRAMRec (See SIMStatus).",
- -315, "No Board Id.",
- -316, "The InitStatusV field was negative after primary or secondary init.",
- -317, "An error occured while trying to initialize the Slot Resource Table.",
- -318, "SDM jump table could not be created.",
- -319, "BoardId was wrong; re-init the PRAM record.",
- -320, "BusError time out.",
- -32768, "Temporarily disable card but run primary init.",
- -32640, "Reserve range -32640 to -32768 for Apple temp disables.",
- -330, "Reference Id not found in List",
- -331, "Bad sList: Id1 < Id2 < Id3 ...format is not followed.",
- -332, "Reserved field not zero",
- -334, "Code revision is wrong",
- -335, "LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.",
- -336, "Nil sBlock error (Dont allocate and try to use a nil sBlock)",
- -337, "Slot out of bounds error",
- -338, "Selector out of bounds error",
- -339, "_NewPtr error",
- -340, "_BlockMove error",
- -341, "Status of slot = fail.",
- -342, "Error occured during _sGetDrvrName.",
- -343, "Error occured during _sDisDrvrName.",
- -344, "No more sResources",
- -345, "Error occurred during _sGetDriver.",
- -346, "Bad pointer was passed to sCalcsPointer",
- -347, "NumByteLanes was determined to be zero.",
- -348, "Offset was too big (temporary error",
- -349, "No opens were successfull in the loop.",
- -350, "SRT over flow.",
- -351, "Record not found in the SRT.",
- -450, "edition manager not inited by this app",
- -452, "not a registered SectionRecord",
- -453, "edition file is corrupt",
- -454, "can not use sub parts in this release",
- -460, "A Publisher is already registered for that container",
- -461, "could not find editionContainer at this time",
- -462, "container already opened by this section",
- -463, "not the first registered publisher for that container",
- -501, "scrap item too big for text edit record",
- -502, "bad selector for _HWPriv",
- -600, "no eligible process with specified descriptor ",
- -601, "not enough room to launch app w/special requirements ",
- -602, "memory mode is 32-bit, but app not 32-bit clean ",
- -603, "app made module calls in improper order ",
- -604, "hardware configuration not correct for call ",
- -605, "application SIZE not big enough for launch ",
- -606, "app is BG-only, and launch flags disallow this ",
- -620, "insufficient physical memory",
- -621, "specified range of memory is not held",
- -622, "cannot make specified range contiguous",
- -624, "don’t call with interrupts masked",
- -625, "unable to defer additional functions",
- -91, "error in soket number",
- -92, "data length too big",
- -93, "no network bridge for non-local send",
- -94, "error in attaching/detaching protocol",
- -95, "excessive collisions on write",
- -97, "driver Open error code (port is in use)",
- -98, "driver Open error code (parameter RAM not configured for this connection)",
- -1024, "Buffer overflow in LookupName",
- -1026, "Name confirmed at different socket",
- -1027, "Duplicate name exists already",
- -1028, "Name not found on remove",
- -1029, "Error trying to open the NIS",
- -1066, "Server cannot support this ASP version",
- -1067, "Buffer too small",
- -1068, "No more sessions on server",
- -1069, "No servers at that address",
- -1071, "Server cannot open another session",
- -1072, "Session closed",
- -1073, "Command block too big",
- -1074, "Too many clients (server error)",
- -1075, "No ack on attention request (server err)",
- -5031, "Volume is Read-Only",
- -5032, "Object is M/R/D/W inhibited",
- -900, "PPCToolBox not initialized ",
- -902, "Invalid or inappropriate locationKindSelector in locationName ",
- -904, "The system is hosed, better re-boot ",
- -905, "Network activity is currently disabled ",
- -906, "Port does not exist at destination ",
- -907, "Out of session tables, try again later ",
- -908, "Invalid session reference number ",
- -909, "bad parameter or invalid state for operation ",
- -910, "port is already open (perhaps in another app) ",
- -911, "user name unknown on destination machine ",
- -912, "Destination rejected the session request ",
- -913, "user hasn't named his Macintosh in the Network Setup Control Panel ",
- -914, "A system resource is missing, not too likely ",
- -915, "unable to contact destination ",
- -916, "port was closed ",
- -917, "session was closed ",
- -919, "PPCPortRec malformed ",
- -922, "user hasn't typed in owners name in Network Setup Control Pannel ",
- -923, "The default userRefNum does not yet exist ",
- -924, "unable to create a new userRefNum ",
- -925, "An error has occured in the network, not too likely ",
- -927, "unable to authenticate user at destination ",
- -928, "Invalid user reference number ",
- -930, "illegal service type, or not supported ",
- -931, "location name malformed ",
- -932, "destination port requires authentication ",
- -10, "say “MacsBug Installed”",
- -11, "say “Disassembler Installed”",
- -13, "say “Extensions Disabled”",
- -12, "say “HD20 Startup”",
- -126, "system error code for MBDF not found",
- -127, "could not find HMenu's parent in MenuKey",
- -490, "user debugger break",
- -491, "user debugger break; display string on stack",
- -492, "user debugger break; execute debugger commands on stack",
-
- -1, "unknown error",
- };
-
-
-